/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package JavaFiler;

/**
 *
 * @author Per Stian Hoff & Gjerde
 *
 * This is a class that is used for storing info about one user.
 */
public class User {
    private String username;
    private String password;
    private String name;
    private String role;
    private int highScore;

    public User(String username,String password, String name, String role){
        this.username = username;
        this.password = password;
        this.name = name;
        this.role = role;
    }
    public User(String username, int highScore){
        this.username = username;
        this.highScore = highScore;
    }
    public User(){
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getHighScore() {
        return highScore;
    }
}